﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IRC.NET
{
    public enum ChannelEventType
    {
        Joined,
        Left,
        Message
    }

    public class ChannelEventArgs : EventArgs
    {
        public ChannelEventType EventType 
        {
            get;
            set;
        }

        public Channel Channel
        {
            get;
            set;
        }

        public IrcServer Server
        {
            get;
            set;
        }

        public ChannelEventArgs(IrcServer server, Channel newChannel, ChannelEventType type)
            : base()
        {
            this.EventType = type;
            this.Channel = newChannel;
            this.Server = server;
        }
    }
}
